package com.uyayo.framework.captcha.constants;

/***
 * 常量
 *
 * @author: hfj
 * @date: 2019/1/11
 * @since: 1.0
 */
public class CaptchaConstants {

    public static final String UNDER_LINE = "_";

    /**
     * 验证码默认超时时间
     * 10分钟
     */
    public final static long CAPTCHA_TIMEOUT = 600000;


    /**
     * 验证码KEY
     */
    public static final String KEY_CAPTCHA = "SE_KEY_MM_CODE";

    /**
     * 验证码后缀
     */
    public static final String KEY_CAPTCHA_SUFFIX = "_SE_KEY_MM_CODE";

    /**
     * 验证码时间后缀
     */
    public static final String CAPTCHA_TIME_SUFFIX = "_TIME";

    /**
     * 文字点击验证码KEY
     */
    public static final String CLICK_TEXT_KEY_CAPTCHA_SUFFIX = "CLICK_TEXT"+KEY_CAPTCHA_SUFFIX;

    /**
     * 文字点击验证码时间KEY
     */
    public static final String CLICK_TEXT_CAPTCHA_TIME_SUFFIX = "CLICK_TEXT"+CAPTCHA_TIME_SUFFIX;

    /**
     * 文字点击验证码矩形KEY
     */
    public static final String CLICK_TEXT_CAPTCHA_RECTANGLES_SUFFIX = "CLICK_TEXT_CAPTCHA_RECTANGLES";


    /**
     * 滑块验证码KEY
     */
    public static final String SLIDER_CAPTCHA_KEY = "SLIDER_CAPTCHA"+KEY_CAPTCHA_SUFFIX;

    /**
     * 滑块验证码时间KEY
     */
    public static final String SLIDER_CAPTCHA_TIME = "SLIDER_CAPTCHA"+CAPTCHA_TIME_SUFFIX;



}
